import bus from "./bus"


const sayHi = (msg: string = 'Hello World!'): void => {
    console.log(msg);
}

// 启用监听

export default () => {
    bus.on('sayHi', sayHi as any);
}
